using System;
using log4net;

namespace Com.Pirate.Common.Utils.Logging
{
    public class Logger
    {
        static Logger _instance;
        public static Logger Instance
        {
            get {
                if (_instance == null)
                    _instance = new Logger();
                return _instance;
            }
        }

        private static readonly ILog logger = log4net.LogManager.GetLogger(new System.Diagnostics.StackTrace().GetFrame(1).GetMethod().DeclaringType);

    }
}
